package com.hp.dao;

import com.hp.entity.Resources;

import java.util.List;

public interface ResourcesDao {

    public void add(Resources resources) throws Exception;

    public List<Resources> getAllAndIsN(Resources resources) throws Exception;


    public Resources findById(String id) throws Exception;

    public void update(Resources resources) throws Exception;

    public void updateStatus(Resources resources) throws Exception;

    public void deleteById(int id) throws Exception;

    public List<Resources> getAllResourceAndIsY() throws Exception;

    public List<Resources> findAllByIdAndIsY(String id) throws Exception;


    public void addclick(String id)throws Exception;


}
